//
//  common.swift
//  SinaWeiBo
//
//  Created by mac on 16/12/5.
//  Copyright © 2016年 heima. All rights reserved.
//

import UIKit

let notificationName: String = "notificationName"
//cell的重用标记
let cellIdentifier: String = "cellIdentifier"
//  获取当前屏幕的宽度
let ScreenWidth = UIScreen.main.bounds.size.width
let ScreenHeight = UIScreen.main.bounds.size.height

//  cell子控件之间的间距
let StatusItemMargin: CGFloat = 10

//随机颜色
func randomColocr() ->UIColor{
    
    let red = arc4random() % 256
    let green = arc4random() % 256
    let blue = arc4random() % 256
    
    let color = UIColor(red: CGFloat(red)/255, green: CGFloat(green)/255, blue: CGFloat(blue)/255, alpha: 1)
    return color
}
